﻿using System;
using System.Collections.Generic;
using System.Text;
using Lrd.Template.Core.Infrastructure.EntityHistory;

namespace Lrd.Template.Core.Infrastructure.EntityHistory
{

    /// <summary>
    /// 操作审计
    /// </summary>
    public class AuditChangeEntry
    {

        /// <summary>
        /// 浏览器信息
        /// </summary>
        public virtual string BrowserInfo { get; set; }

        /// <summary>
        /// IP地址
        /// </summary>
        public virtual string ClientIpAddress { get; set; }

        /// <summary>
        /// 系统名
        /// </summary>
        public virtual string SystemName { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public virtual string UserAgent { get; set; }

        /// <summary>
        /// 服务名
        /// </summary>

        public virtual string ServiceName { get; set; }

        /// <summary>
        /// 执行时间
        /// </summary>
        public virtual int ExecutionDuration { get; set; }

        /// <summary>
        /// 审计实体集合
        /// </summary>

        public virtual ICollection<AuditEntityEntry> AuditEntityEntries { get; set; }


        public AuditChangeEntry()
        {
            AuditEntityEntries = new List<AuditEntityEntry>();
        }
    }
}
